[INFO] cloning repository https://github.com/Live4dreamCH/leetcode_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Live4dreamCH/leetcode_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e335c1aacb04802b98f68ad2863ddce3ea1c92b3
[INFO] checking Live4dreamCH/leetcode_rs against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Live4dreamCH/leetcode_rs on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Live4dreamCH/leetcode_rs
[INFO] finished tweaking git repo https://github.com/Live4dreamCH/leetcode_rs
[INFO] tweaked toml for git repo https://github.com/Live4dreamCH/leetcode_rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Live4dreamCH/leetcode_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] babcfc10ced1d69cfdcc6fb1f958f83763d85c1dc8679e7c66ebf5260aeeeb77
[INFO] running `Command { std: "docker" "start" "-a" "babcfc10ced1d69cfdcc6fb1f958f83763d85c1dc8679e7c66ebf5260aeeeb77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "babcfc10ced1d69cfdcc6fb1f958f83763d85c1dc8679e7c66ebf5260aeeeb77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "babcfc10ced1d69cfdcc6fb1f958f83763d85c1dc8679e7c66ebf5260aeeeb77", kill_on_drop: false }`
[INFO] [stdout] babcfc10ced1d69cfdcc6fb1f958f83763d85c1dc8679e7c66ebf5260aeeeb77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad5ba8ea7c535aec0b3931d586b15d73f37c7cb1cfc1eb5a21ae09a333861aca
[INFO] running `Command { std: "docker" "start" "-a" "ad5ba8ea7c535aec0b3931d586b15d73f37c7cb1cfc1eb5a21ae09a333861aca", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Binary`
[INFO] [stdout]  --> src/bin/oral05_02.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Binary;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visited`
[INFO] [stdout]  --> src/bin/lc1601.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut visited = vec![requests[0][0]];
[INFO] [stdout]   |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/bin/lc1601.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn maximum_requests(n: i32, requests: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |                             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/lc982.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/bin/lc982.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1601.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut requests = requests;
[INFO] [stdout]   |             ----^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1601.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut visited = vec![requests[0][0]];
[INFO] [stdout]   |             ----^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/lc982.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/bin/lc982.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit_set`
[INFO] [stdout]  --> src/bin/lc982.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let bit_set=0;
[INFO] [stdout]   |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]  --> src/bin/lc982.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn count_triplets(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/bin/lc1817.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `finding_users_active_minutes` is never used
[INFO] [stdout]  --> src/bin/lc1817.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn finding_users_active_minutes(logs: Vec<Vec<i32>>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bit_set`
[INFO] [stdout]  --> src/bin/lc982.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let bit_set=0;
[INFO] [stdout]   |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_set`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]  --> src/bin/lc982.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn count_triplets(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/bin/lc1825.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | struct MKAverage {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 7  |     m: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 8  |     k: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 9  |     queue: VecDeque<i32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     middle_set: OrderedMutiSet<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     small_set: OrderedMutiSet<i32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 12 |     large_set: OrderedMutiSet<i32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     sum_middle: i32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MKAverage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/lc1825.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(m: i32, k: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `balance_sets` is never used
[INFO] [stdout]   --> src/bin/lc1825.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn balance_sets(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_element` is never used
[INFO] [stdout]   --> src/bin/lc1825.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn add_element(&mut self, num: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `calculate_mk_average` is never used
[INFO] [stdout]    --> src/bin/lc1825.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn calculate_mk_average(&self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MonoStack` is never constructed
[INFO] [stdout]  --> src/bin/algo/mono_stack.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MonoStack<'a, T: Ord> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(array: &Vec<T>, order: Ordering, strict: bool) -> MonoStack<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push_once` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn push_once(&mut self, item: usize) -> Result<Option<usize>, usize> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn push(&mut self, item: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pop` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn pop(&mut self) -> Option<usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `top` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn top(&self) -> Option<&usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `count_map` and `length` are never read
[INFO] [stdout]  --> src/bin/algo/ordered_multi_set.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct OrderedMutiSet<T: Ord + Copy> {
[INFO] [stdout]   |            -------------- fields in this struct
[INFO] [stdout] 5 |     count_map: BTreeMap<T, u32>,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     length: usize,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OrderedMutiSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn push(&mut self, item: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pop_min` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn pop_min(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pop_max` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn pop_max(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `peek_min` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn peek_min(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `peek_max` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn peek_max(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_one` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn remove_one(&mut self, item: &T) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/bin/lc1825.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn push(&mut self, item: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `count_map` and `length` are never read
[INFO] [stdout]  --> src/bin/algo/ordered_multi_set.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct OrderedMutiSet<T: Ord + Copy> {
[INFO] [stdout]   |            -------------- fields in this struct
[INFO] [stdout] 5 |     count_map: BTreeMap<T, u32>,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     length: usize,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OrderedMutiSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn push(&mut self, item: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pop_min` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn pop_min(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pop_max` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn pop_max(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `peek_min` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn peek_min(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `peek_max` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn peek_max(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_one` is never used
[INFO] [stdout]   --> src/bin/algo/ordered_multi_set.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn remove_one(&mut self, item: &T) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Binary`
[INFO] [stdout]  --> src/bin/oral05_02.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Binary;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/lc1487.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 name_times_map.insert(name.clone(), 1);
[INFO] [stdout]    |                                ------               ^ expected `(HashSet<usize>, usize)`, found integer
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(HashSet<usize>, usize)`
[INFO] [stdout]                found type `{integer}`
[INFO] [stdout] help: the return type of this call is `{integer}` due to the type of the argument passed
[INFO] [stdout]   --> src/bin/lc1487.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 name_times_map.insert(name.clone(), 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     this argument influences the return type of `insert`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/library/std/src/collections/hash/map.rs:1103:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `(HashSet<usize>, usize)` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/bin/lc1487.rs:44:74
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let actual_name = name.clone() + "(" + &name_times_map[name].to_string() + ")";
[INFO] [stdout]    |                                                                          ^^^^^^^^^ `(HashSet<usize>, usize)` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `(HashSet<usize>, usize): std::fmt::Display`
[INFO] [stdout]            which is required by `(HashSet<usize>, usize): ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `(HashSet<usize>, usize)`
[INFO] [stdout]   --> src/bin/lc1487.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             *name_times_map.get_mut(name).unwrap() += 1;
[INFO] [stdout]    |             --------------------------------------^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot use `+=` on type `(HashSet<usize>, usize)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/lc1487.rs:47:58
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |                                                --------- ^ expected `(HashSet<usize>, usize)`, found integer
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(HashSet<usize>, usize)`
[INFO] [stdout]                found type `{integer}`
[INFO] [stdout] help: the return type of this call is `{integer}` due to the type of the argument passed
[INFO] [stdout]   --> src/bin/lc1487.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          this argument influences the return type of `or_insert`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/library/std/src/collections/hash/map.rs:2532:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `(HashSet<usize>, usize)`
[INFO] [stdout]   --> src/bin/lc1487.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |             -----------------------------------------------^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot use `+=` on type `(HashSet<usize>, usize)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0599.
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn push(&mut self, item: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MonoStack` is never constructed
[INFO] [stdout]  --> src/bin/algo/mono_stack.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MonoStack<'a, T: Ord> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(array: &Vec<T>, order: Ordering, strict: bool) -> MonoStack<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "lc1487" test) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: method `push_once` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn push_once(&mut self, item: usize) -> Result<Option<usize>, usize> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn push(&mut self, item: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pop` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn pop(&mut self) -> Option<usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `top` is never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn top(&self) -> Option<&usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `1`
[INFO] [stdout]   --> src/bin/lc1615.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |         count_map.iter()
[INFO] [stdout]    |                         ^ help: add `;` here
[INFO] [stdout] 22 |         1
[INFO] [stdout]    |         - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `1`
[INFO] [stdout]   --> src/bin/lc1615.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |         count_map.iter()
[INFO] [stdout]    |                         ^ help: add `;` here
[INFO] [stdout] 22 |         1
[INFO] [stdout]    |         - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "lc1615" test) due to 2 previous errors
[INFO] [stderr] error: could not compile `leetcode` (bin "lc1615") due to 2 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/lc1487.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 name_times_map.insert(name.clone(), 1);
[INFO] [stdout]    |                                ------               ^ expected `(HashSet<usize>, usize)`, found integer
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(HashSet<usize>, usize)`
[INFO] [stdout]                found type `{integer}`
[INFO] [stdout] help: the return type of this call is `{integer}` due to the type of the argument passed
[INFO] [stdout]   --> src/bin/lc1487.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 name_times_map.insert(name.clone(), 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     this argument influences the return type of `insert`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/library/std/src/collections/hash/map.rs:1103:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `(HashSet<usize>, usize)` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/bin/lc1487.rs:44:74
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let actual_name = name.clone() + "(" + &name_times_map[name].to_string() + ")";
[INFO] [stdout]    |                                                                          ^^^^^^^^^ `(HashSet<usize>, usize)` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `(HashSet<usize>, usize): std::fmt::Display`
[INFO] [stdout]            which is required by `(HashSet<usize>, usize): ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `(HashSet<usize>, usize)`
[INFO] [stdout]   --> src/bin/lc1487.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             *name_times_map.get_mut(name).unwrap() += 1;
[INFO] [stdout]    |             --------------------------------------^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot use `+=` on type `(HashSet<usize>, usize)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/lc1487.rs:47:58
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |                                                --------- ^ expected `(HashSet<usize>, usize)`, found integer
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(HashSet<usize>, usize)`
[INFO] [stdout]                found type `{integer}`
[INFO] [stdout] help: the return type of this call is `{integer}` due to the type of the argument passed
[INFO] [stdout]   --> src/bin/lc1487.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          this argument influences the return type of `or_insert`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/library/std/src/collections/hash/map.rs:2532:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `(HashSet<usize>, usize)`
[INFO] [stdout]   --> src/bin/lc1487.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |             -----------------------------------------------^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot use `+=` on type `(HashSet<usize>, usize)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "lc1487") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "ad5ba8ea7c535aec0b3931d586b15d73f37c7cb1cfc1eb5a21ae09a333861aca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad5ba8ea7c535aec0b3931d586b15d73f37c7cb1cfc1eb5a21ae09a333861aca", kill_on_drop: false }`
[INFO] [stdout] ad5ba8ea7c535aec0b3931d586b15d73f37c7cb1cfc1eb5a21ae09a333861aca
